package com.lvyq.javaprint.common;

/**
 * @description 返回信息
 * @author lvyq
 * @param[1] null
 * @throws
 * @time 2024-05-06 9:59
 */
public interface GlobalCode {

    ResultCode SUCCESS = new ResultCode(0, "操作成功");

    ResultCode ERROR =  new ResultCode(1,"操作失败");


    ResultCode ILLEGAL_PARAM = new ResultCode(100001,"参数不正确");

    //打印异常
    ResultCode PRINT_BEFORE =  new ResultCode(200000,"开始准备");
    ResultCode PRINT_START =  new ResultCode(200001,"开始打印");
    ResultCode PRINT_END = new ResultCode(200002,"打印结束");

    ResultCode PRINT_EXCEPTION = new ResultCode(200003,"打印异常");

    ResultCode FILE_NOT_FOUND = new ResultCode(200004,"系统找不到指定的文件");
    ResultCode FILE_EXP = new ResultCode(200004,"文件异常");


}
